{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "363dc149",
   "metadata": {},
   "outputs": [],
   "source": [
    "import face_system\n",
    "# face_system.system('需识别人像相对地址/绝对地址','NFUSTH32-309')\n",
    "# 欢迎提供任何建议：15602912596 | CaiHongjia"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "c49118cf",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "未识别到人脸，请重新识别！\n"
     ]
    }
   ],
   "source": [
    "face_system.system('scenery.png','NFUSTH32-309')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "4c4d0049",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "十分抱歉！您不是该宿舍成员，请联系宿舍管理员。当前时间：2022-04-04 18:54:41\n"
     ]
    }
   ],
   "source": [
    "face_system.system('Chen_01.png','NFUSTH32-309')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "id": "db504116",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "欢迎您回来宿舍！当前时间：2022-04-04 18:54:42\n"
     ]
    }
   ],
   "source": [
    "face_system.system('Liu_02.jpeg','NFUSTH32-309')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "6959ed10",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.8"
  },
  "toc": {
   "base_numbering": 1,
   "nav_menu": {},
   "number_sections": true,
   "sideBar": true,
   "skip_h1_title": false,
   "title_cell": "Table of Contents",
   "title_sidebar": "Contents",
   "toc_cell": false,
   "toc_position": {},
   "toc_section_display": true,
   "toc_window_display": false
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
